package com.cmc.cloud.cmclink.doc.vo.specialcargodgvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 特种货审批dg分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 特种货审批dg分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoDgPageReqVO extends PageParam {

    @Schema(description = "特种货申请id", example = "32189")
    private Long applyId;

    @Schema(description = "联合国危险品编号")
    private String unNo;

    @Schema(description = "国际海事局危险品分类")
    private String imoClass;

    @Schema(description = "正确运输名称")
    private String psn;

    @Schema(description = "包装组别")
    private String packingGroup;

    @Schema(description = "技术名称", example = "赵六")
    private String technicalName;

    @Schema(description = "副危险")
    private String subsidiaryRisk;

    @Schema(description = "是否数量限制")
    private Boolean limitedQty;

    @Schema(description = "海污")
    private Boolean marinePollutant;

    @Schema(description = "货物状态", example = "2")
    private String cargoStatus;

    @Schema(description = "应急反应措施编号")
    private String emsNo;

    @Schema(description = "危险品货物毛重")
    private BigDecimal dgGrossWgt;

    @Schema(description = "危险品货物净重")
    private BigDecimal dgNetWgt;

    @Schema(description = "医疗急救指南编号")
    private String mfagNo;

    @Schema(description = "紧急应变指南编号")
    private String erg;

    @Schema(description = "隔离组")
    private String segregationGroup;

    @Schema(description = "闪点")
    private BigDecimal flashPoint;

    @Schema(description = "电池状态", example = "2")
    private String batteryStatus;

    @Schema(description = "爆炸物含量")
    private BigDecimal netExplosiveWgt;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "紧急联系人名称")
    private String emergencyContactName;

    @Schema(description = "紧急联系人地址")
    private String emergencyContactAddress;

    @Schema(description = "紧急联系人电话")
    private String emergencyContactMobile;

    @Schema(description = "紧急联系人邮箱")
    private String emergencyContactEmail;

    @Schema(description = "紧急联系人传真")
    private String emergencyContactFax;

}
